Release 10.1A: OpenEdge Development:
Progress 4GL Handbook
Changing attribute values
You can also change many attribute values at run time, even those for static objects. You simply place the attribute reference on the left side of an assignment. The documentation of the individual attributes in the final volume of OpenEdge Development: Progress 4GL Reference , as well as the online help, tells you whether you can set them. Generally, at run time you cannot change attributes that are part of the definition of an object, such as its initial value or its display type. But many attributes can change during program execution, such as attributes that define whether an object is hidden or visible and whether it is enabled or disabled. Even some basic display attributes such as a field’s font or a button’s label can change at run time to give greater flexibility to your application’s interface. If you try to set an attribute for an object that is not settable, you get a compile-time error telling you so.
![]()
To get a full description of any attribute from online help, including what object types it applies to and whether it is readable, writable, or both:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |